<template>
	<view style="padding: 30rpx;">
    <u-parse :html="privacyHtml"></u-parse>
  </view>
</template>

<script>
	export default {
		name: 'u-badge',
		props: {
			
			isCenter: {
				type: Boolean,
				default: false
			}
		},
    data() {
    	return {
        agreementOk:false,
        privacyOk:false,
        privacyHtml:''
        
    	};
    },
    
    created() {
      this.$api.privacyApi().then(res=>{
        this.privacyHtml = res.data
      })
    },
    
    methods:{
      
      
    }
    
	}
</script>

<style lang="scss" scoped>		
	.privacy-box{ position: absolute; bottom: 0; width: 100%; left: 0; height: 120rpx; display: flex; align-items: center; justify-content: center; }
  .pup{ position: relative;
    width: 690rpx; margin: 0 auto; background-color: #fff; height: calc(100vh - 250rpx); overflow: hidden; border-radius: 8rpx; 
    .div{padding: 0 20rpx;  height: calc(100vh - 500rpx); margin-top: 80rpx; overflow-y: auto; margin-bottom: 40rpx;}
  }
  .btns{
    display: flex; align-items: center; justify-content: space-between; padding:0 30rpx 40rpx;
    .btn{width: 48%; height: 80rpx; border-radius: 40rpx; display: flex; align-items: center; justify-content: center; background-color: #f1f1f1;}
    .btn1{background-color: #2979ff; color: #ffff;}
  }
  .t{color: #2979ff;}
  .texts{position: relative;}
  .bg{display: flex;align-items: center; justify-content: center;}
  .icon{width: 34rpx; height: 34rpx; border: 1px solid #ddd; border-radius: 8rpx; display: flex;align-items: center; justify-content: center; overflow: hidden; margin-right: 10rpx; font-size: 24rpx;
    &.on{background-color: rgb(21, 21, 21); border-color: rgb(21, 21, 21); color: #ffff;}
  }
  .pup-box{
    position: fixed; width: 100%; height: 100%; left: 0; top:0; z-index: 99999; background-color: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center;
  }
  .close{
    position: absolute; right: 0; top: 0; width: 60rpx; height: 60rpx; display: flex; align-items: center; justify-content: center;
  }
</style>